<?php
/**
 * D5Power Studio d5power Webgame Engine
 *
 * Extends DOTK system
 * Author: D5Power Studio
 *
 *
 * 第五动力工作室 d5power网页游戏引擎 Ver 1.0
 * 继承自:DOTK引擎
 * 作者：第五动力工作室
 */
 

/** PAGE NOT ALLOWED
 * Verify if user called this page through a allowed page.
 * @message: That file cannot be displayed alone.
 */
if (!isset($allowed_page)) { echo "That file cannot be displayed alone."; exit; }

abstract class abstractDataAccess {

  private $connectionLink = null;
  private $connected = false;

  function abstractDAO() {
    if(get_class($this)=='abstractDAO' || !is_subclass_of($this,'DAO')){
      trigger_error('This class is abstract. It cannot be instantiated!',E_USER_ERROR);
    }
  }
  abstract public function connect();
  abstract public function disconnect();
  abstract function & sendQuery($statement, $params = null);
}
?>